package de.vogella.mysql.first;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author Marouane
 */
//import de.vogella.mysql.first.MySQLAccess;

import java.sql.*;

public class Main {
static Connection j =null;
public static Connection connect(){
    try{
       Class.forName("com.mysql.jdbc.Driver"); 
        j=DriverManager.getConnection("jdbc:mysql://localhost/feedback?"
							+ "user=sqluser&password=sqluserpw");
        
    }catch(Exception g){
        g.printStackTrace();
    }
    return j;
}
   

}

